<template>
  <el-container>
    <el-header>
      <Header/>
    </el-header>
    <el-main>
      <el-card class="box-card">
        <router-view/>
      </el-card>
    </el-main>
  </el-container>
</template>

<script>
import Header from '@/components/Header';

export default {
  name: 'login',
  data() {
    return {
      userName: false,
    };
  },
  components: {
    Header,
  },
};
</script>
<style scoped>
.el-header,
.el-footer {
  background-color: #4da5a3;
  color: #333;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  color: #333;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.box-card {
  border-radius: 5px;
}
</style>
